package com.example.fan.airline_reservation.Model;

import java.io.Serializable;

import cn.bmob.v3.BmobObject;

public class USER extends BmobObject implements Serializable {
    private String name = "";
    private String password = "";
    private int type = 0;           //0为旅行社，1为航空公司
    private double money=100000;

    public USER(String name,String password,int type){
        this.name=name;
        this.password=password;
        this.type=type;
    }

    public USER(){

    }

    public void setName(String name) {
        this.name = name;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public String getPassword() {
        return password;
    }

    public int getType() {
        return type;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }
}
